package com.ruoyi.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.client.domain.entity.BlogCollect;
import com.ruoyi.client.domain.vo.EchartsVo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 收藏记录 服务类
 * </p>
 *
 * @author fz
 * @since 2025-02-27
 */
public interface IBlogCollectService extends IService<BlogCollect> {

    void collectArticle(BlogCollect collect, Boolean isCollect);

    List<EchartsVo> addLikeNum(Long userId, LocalDateTime startOfLastSevenDays, LocalDateTime endOfLastSevenDays);
}
